package 创建者模式.singleton.懒汉式_线程不安全;

/**
 * @Description TODO
 * @Author shallow
 * @Date 2023/3/1 14:11
 */

public class Client {
    public static void main(String[] args) {
        Singleton instance = Singleton.getInstance();
        Singleton instance1 = Singleton.getInstance();
        System.out.println(instance1 == instance);
    }
}
